﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using FwProject.ShoppingMall.Com;

namespace FwProject.Com.Dto
{
    /// <summary>
    /// 购物车创建模型
    /// </summary>
    [AutoMap(typeof(ShopCar))]
    public class ShopCarInput:EntityDto<Guid>
    {
        /// <summary>
        /// 用户id
        /// </summary>
        [Display(Name ="用户编号")]
        public long UserId { get; set; }

        /// <summary>
        /// 商品ID
        /// </summary>
        [Display(Name = "商品编号")]
        public Guid ShopproductId { get; set; }

        /// <summary>
        /// 商品数量
        /// </summary>
        [Display(Name = "商品数量")]
        public int ProductCount { get; set; }

        /// <summary>
        /// 规格编号
        /// </summary>
        [Display(Name = "规格编号")]
        public Guid ShopSkuId { get; set; } = Guid.Empty;
    }
}
